<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>侧边栏-报表系统BI</title>
</head>
<body>

<th:block th:fragment="sidebar"
          th:with="omsURL = ${session.OMS.value},ficoURL = ${session.FICO.value},vasURL = ${session.VAS.value}, erpURL = ${session.ERP.value}, scmURL = ${session.SCM.value},perfURL = ${session.PERFORMANCE!=null?session.PERFORMANCE.value:session.PERF.value}">
    <li data-name="bi-menu" class="layui-nav-item">
        <div class="system">报表系统BI</div>
        <!-- 绩效管理 -->
        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermits(false, '/perf/*')}">
            <dd data-name="button">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-table"></i>
                    <cite>绩效管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/zs/perf/distribute.action')}">
                        <a th:lay-href="|${omsURL}/perf/distribute/list.action|">派单绩效</a>
                    </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/zs/perf/company_order.action')}">
                        <a th:lay-href="|${omsURL}/perf/city/list.action|">城市绩效</a>
                    </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/report/master/applique/list')}">
                        <a th:lay-href="|${perfURL}/report/master/applique/list|">贴花明细</a>
                    </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/report/master/metrics/list')}">
                        <a th:lay-href="|${perfURL}/report/master/metrics/list|">工程师指标</a>
                    </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/report/company/cost/list')}">
                        <a th:lay-href="|${perfURL}/report/company/cost/list|">子公司成本</a>
                    </dd>
                    <!-- 在线咨询明细 -->
                    <dd th:if="${#authPermit.checkMenuPermit('/report/consultation/list')}">
                        <a th:lay-href="|${perfURL}/report/consultation/list|">在线咨询明细</a>
                    </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/overview/*')}">
                        <a href="javascript:void(0);" lay-direction="3">
                            <cite>派单总览表</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd th:if="${#authPermit.checkMenuPermit('/overview/current/listByQuery')}">
                                <a th:lay-href="|${perfURL}/overview/current/list|">当日派单总览表</a>
                            </dd>
                            <dd th:if="${#authPermit.checkMenuPermit('/overview/history/listByQuery')}">
                                <a th:lay-href="|${perfURL}/overview/history/list|">历史派单总览表</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 订单报表 -->
        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermits(false, '/zs/oms/report/*.action')}">
            <dd data-name="button">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-table"></i>
                    <cite>订单报表</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/report/category/service/*')}">
                        <a href="javascript:void(0);" lay-direction="3">
                            <cite>服务分类单量</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd th:if="${#authPermit.checkMenuPermit('/report/category/service/company/list')}">
                                <a th:lay-href="|${perfURL}/report/category/service/company/list|">公司单量</a>
                            </dd>
                            <dd th:if="${#authPermit.checkMenuPermit('/report/category/service/city/list')}">
                                <a th:lay-href="|${perfURL}/report/category/service/city/list|">城市单量</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/report/category/product/*')}">
                        <a href="javascript:void(0);" lay-direction="3">
                            <cite>产品分类单量</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd th:if="${#authPermit.checkMenuPermit('/report/category/product/company/list')}">
                                <a th:lay-href="|${perfURL}/report/category/product/company/list|">公司单量</a>
                            </dd>
                            <dd th:if="${#authPermit.checkMenuPermit('/report/category/product/city/list')}">
                                <a th:lay-href="|${perfURL}/report/category/product/city/list|">城市单量</a>
                            </dd>
                        </dl>
                    </dd>
                <dd th:if="${#authPermit.checkMenuPermit('/report/channel/*')}">
                        <a href="javascript:void(0);" lay-direction="3">
                            <cite>渠道单量分析</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd th:if="${#authPermit.checkMenuPermit('/report/channel/source/list')}">
                                <a th:lay-href="|${perfURL}/report/channel/source/list|">来源渠道单量</a>
                            </dd>
                            <dd th:if="${#authPermit.checkMenuPermit('/report/channel/cost/list')}">
                                <a th:lay-href="|${perfURL}/report/channel/cost/list|">渠道单量成本</a>
                            </dd>
                            <dd th:if="${#authPermit.checkMenuPermit('/report/channel/channel/list')}">
                                <a th:lay-href="|${perfURL}/report/channel/channel/list|">渠道报表</a>
                            </dd>
                        </dl>
                    </dd>
                        <dd th:if="${#authPermit.checkMenuPermit('/report/status/*')}">
                            <a href="javascript:void(0);" lay-direction="3">
                                <cite>订单状态跟踪</cite>
                            </a>
                            <dl class="layui-nav-child">
                                <dd th:if="${#authPermit.checkMenuPermit('/report/status/company/list')}">
                                    <a th:lay-href="|${perfURL}/report/status/company/list|">公司订单状态</a>
                                </dd>
                                <dd th:if="${#authPermit.checkMenuPermit('/report/status/master/list')}">
                                    <a th:lay-href="|${perfURL}/report/status/master/list|">工程师订单状态</a>
                                </dd>
                            </dl>
                        </dd>
                        <dd th:if="${#authPermit.checkMenuPermit('/report/tariff/*')}">
                            <a th:lay-href="|${perfURL}/report/tariff/product/list|">计价器报表</a>
                        </dd>
                        <dd th:if="${#authPermit.checkMenuPermit('/report/time/*')}">
                            <a href="javascript:void(0);">
                                <cite>时效报表</cite>
                            </a>
                            <dl class="layui-nav-child">
                                <dd th:if="${#authPermit.checkMenuPermit('/report/time/onTime')}">
                                    <a th:lay-href="|${perfURL}/report/time/onTime/master/list|">订单准时报表</a>
                                </dd>
                                <dd th:if="${#authPermit.checkMenuPermit('/report/time/serviceTime')}">
                                    <a th:lay-href="|${perfURL}/report/time/serviceTime/master/list|">服务时长报表</a>
                                </dd>
                                <dd th:if="${#authPermit.checkMenuPermit('/report/time/urge')}">
                                    <a th:lay-href="|${perfURL}/report/time/urge/master/list|">时效催单报表</a>
                                </dd>
                            </dl>
                        </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/zs/oms/report/ordered/list.action')}">
                        <a th:lay-href="|${omsURL}/report/ordered/list.action|">录单报表</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 投诉异常报表-->
        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermits(false, '/crm/report/*.action')}">
            <dd data-name="button">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-table"></i>
                    <cite>投诉异常报表</cite>
                </a>
                <dl class="layui-nav-child">

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/report/abnormalReport/list.action')}">
                        <a th:lay-href="${session.UMS.value + '/report/abnormalReport/list.action'}">异常报表</a>
                    </dd>

                </dl>
                <!-- 报表 -->
                <dl class="layui-nav-child">
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermits(false,'/chs/report/list/punishReport.action')}">
                        <a href="javascript:;">新投诉报表</a>
                        <dl class="layui-nav-child">
                            <dd th:if="${#authPermit.checkMenuPermit('/chs/report/list/punishReport.action')}"
                                data-name="button">
                                <a th:lay-href="${session.UMS.value+'/chs/report/list/punishReport.action'}" lay-text="投诉负激励报表">
                                    投诉负激励报表</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>


        <!-- 财务报表 -->
        <dl class="layui-nav-child show"
            th:if="${#authPermit.checkMenuPermits(false, '/fico/report/*.action','/zs/fico/report/*.action','/ys/fico/report/*.action','/cnhb/fico/report/*.action')}">
            <dd data-name="button">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-table"></i>
                    <cite>财务报表</cite>
                </a>
                <!-- 啄木鸟财务报表 -->
                <dl class="layui-nav-child">
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/zs/fico/report/*.action')}">
                        <a href="javascript:;">啄木鸟财务</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/order/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/order/list.action|">工单总额</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/ordercity/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/ordercity/list.action|">城市工单总额</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/receiamount/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/receiamount/list.action|">订单收款明细</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/pay/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/pay/list.action?plat=10|">支付明细</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/master/part/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/master/part/list.action|">师傅配件</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/part/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/part/list.action|">配件总额</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/channel/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/channel/list.action|">渠道应收</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/vas/order/OrderManager/listPageOrderReport')}">
                                <a th:lay-href="|${vasURL}/vas/order/report/list.html|">增值支付明细</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/memberfees/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/memberfees/list.action|">会员收费</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/channel/sett/stat/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/channel/sett/stat/list.action|">子公司渠道收款对账表</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/report/serviceprovider/revenueAnalysis/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/serviceprovider/revenueAnalysis/list.action|">服务商营收分析表</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/perf/report/finance/businessbill/list.action')}">
                                <a th:lay-href="|${perfURL}/report/finance/businessbill/list.action|">业务调账表</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/perf/report/finance/unionpay/list.action')}">
                                <a th:lay-href="|${perfURL}/report/finance/unionpay/list.action|">银联分账汇总表</a>
                            </dd>
                            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/perf/deposit/sp/list')}">
                                <a th:lay-href="|${perfURL}/deposit/sp/list|">服务商质保金数据分析</a>
                            </dd>
                            <!--<dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/perf/deposit/master/list')}">-->
                                <!--<a th:lay-href="|${perfURL}/deposit/master/list|">工程师质保金数据分析</a>-->
                            <!--</dd>-->
                            <!--<dd data-name="button"-->
                                <!--th:if="${#authPermit.checkMenuPermit('/zmn/report/orderAnalysis/list.action')}">-->
                                <!--<a th:lay-href="|${erpURL}/report/orderAnalysis/list?plat=10|">服务商订单分析表</a>-->
                            <!--</dd>-->
                        </dl>
                    </dd>
                    <!-- 言而有信财务报表 -->
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/ys/fico/report/*.action')}">
                        <a href="javascript:;">言而有信财务</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/ys/fico/report/ysorder/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/ysorder/list.action|">工单总额</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/ys/fico/report/agentpay/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/agentpay/list.action|">代缴明细</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/ys/fico/report/pay/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/pay/list.action?plat=20|">支付明细</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/ys/fico/report/charge/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/charge/list.action|">厂商金额</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/ys/fico/report/factory/freeze/detail/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/factory/freeze/detail/list.action|">冻结金额</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/ys/fico/report/factory/deposit/detail/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/factory/deposit/detail/list.action|">保证金</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/ys/fico/report/factory/consumption/detail/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/factory/consumption/detail/list.action|">厂商消费</a>
                            </dd>

                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/provider/reconciliation/list.action')}">
                                <a th:lay-href="|${erpURL}/provider/reconciliation/list?plat=20|">服务商/客户收付款对账表</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/manufacturer/reconciliation/list.action')}">
                                <a th:lay-href="|${erpURL}/manufacturer/reconciliation/list?plat=20|">厂商/服务商收付款对账表</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/yeyx/report/orderAnalysis/list.action')}">
                                <a th:lay-href="|${erpURL}/report/orderAnalysis/list?plat=20|">服务商订单分析表</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/perf/report/finance/businessbill/list2.action')}">
                                <a th:lay-href="|${perfURL}/report/finance/businessbill/list2.action|">业务调账表</a>
                            </dd>
                        </dl>
                    </dd>

                    <!-- 川南环保财务报表 -->
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/cnhb/fico/report/*.action')}">
                        <a href="javascript:;">川南环保财务</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/fico/report/pay/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/pay/list.action?plat=40|">支付明细</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/report/orderAnalysis/list.action')}">
                                <a th:lay-href="|${erpURL}/report/orderAnalysis/list?plat=40|">服务商订单分析表</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>


        <!-- 供应链报表 -->
        <dl class="layui-nav-child show"
            th:if="${#authPermit.checkMenuPermits(false, '/scm/report/purchase/list.action','/scm/report/purchase/comparable/list.action')}">
            <dd data-name="button">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-table"></i>
                    <cite>供应链报表</cite>
                </a>
                <!-- 采购统计表 -->
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/scm/report/purchase/list.action')}">
                        <a th:lay-href="|${scmURL}/scm/report/purchase/list.action|">采购统计表</a>
                    </dd>
                </dl>
                <!-- 采购价格对比表 -->
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/scm/report/purchase/comparable/list.action')}">
                        <a th:lay-href="|${scmURL}/scm/report/purchase/comparable/list.action|">采购价格对比报表</a>
                    </dd>
                </dl>
            </dd>
        </dl>
        <!--营销报表-->
        <dl class="layui-nav-child show"
            th:if="${#authPermit.checkMenuPermits(false, '/zs/oms/report/coupanalyse/list.action')}">
            <dd data-name="button">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-table"></i>
                    <cite>营销报表</cite>
                </a>
                <!-- 优惠券分析表 -->
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/zs/oms/report/coupanalyse/list.action')}">
                        <a th:lay-href="|${omsURL}/report/coupanalyse/list.action|">优惠券分析表</a>
                    </dd>
                </dl>
            </dd>
        </dl>
    </li>
</th:block>
</body>
</html>
